//
//  LocationHelper.h
//  jandaobao
//
//  Created by 杨志刚 on 15/5/27.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIImageView+WebCache.h"

@interface LocationHelper : NSObject

+(NSString *) getBelongAgentId;
+(NSString *) getCustomerId;

+(NSString *) getCurrentLatitude;

+(NSString *) getCurrentLongitude;

+(NSURL *)getImageUrl:(NSString *)imagePath;
+(NSString *) getFirstInfo;

+(void)setCampaignImageUrl:(UIImageView *) image:(NSString *)imgPath;

+(void)setCustomerImageUrl:(UIImageView *) image:(NSString *)imgPath;

+(void)setVendorImageUrl:(UIImageView *) image:(NSString *)imgPath;

+(NSString *)getTodayShareUrl:(NSString *) campaignId;

+(NSString *) getDistinceByLatLog:(double) lat:(double) log;

+(Boolean) isLoginOrNot;

+(Boolean) checkLogin;

+(id)getResultByBaseResult:(id) baseResult;

+(NSString *)getMessageByBaseResult:(id)baseResult;

//+(ResultStatus)getResultStatusByBaseResult:(id)baseResult;

@end
